<script type="text/javascript" src="include/editorue/ueditor.config.js"></script> 
<script type="text/javascript" src="include/editorue/ueditor.all.min.js"></script>
<script type="text/javascript">
<!-- if($system[jianti]==on) -->
var editor = new UE.ui.Editor(); 
editor.render("myEditor");
<!-- end -->

<!-- if($system[fanti]==on) -->
var editor_ft = new UE.ui.Editor(); 
editor_ft.render("myEditor_ft");
<!-- end -->

<!-- if($system[english]==on) -->
var editor_en = new UE.ui.Editor(); 
editor_en.render("myEditor_en");
<!-- end -->

/***********************************/

var rlink = get_url();
var base = new Base64();
var relink = base.encode(rlink);
function ifeditor(eid)
{
	url = "{:$mainlink}?file=editor&eid="+eid+"&act={:$act}&sysgroupid={:$sysgroupid}&id={:$id}&rlink="+relink;
	tip_confirm("确认切换编辑器吗？未保存的数据将会丢失！",url);
}
</script>

<div class="menu1box">
  <ul>
    <!-- if($system[jianti]==on) --><li class="tabon" onclick="tabs(this,'editorue_cn')"><a href="javascript:void(0)">简体内容</a></li><!-- end -->
    <!-- if($system[fanti]==on) --><li onclick="tabs(this,'editorue_ft')"><a href="javascript:void(0)">繁体内容</a></li><!-- end -->
    <!-- if($system[english]==on) --><li onclick="tabs(this,'editorue_en')"><a href="javascript:void(0)">英文内容</a></li><!-- end -->
    <li><a href="javascript:void(0)" onclick="ifeditor('0')">切换为极速版 <span style="color:red;">[注：切换前请先保存数据]</span></a></li>
    <div class="clear"></div>
  </ul>
</div>

<!-- if($system[jianti]==on) -->
<div id="editorue_cn" class="tabdiv tabshow">
<textarea id="myEditor" name="myEditor">{:$content}</textarea><input type="hidden" name="content" id="content" />
</div>
<!-- end -->
<!-- if($system[fanti]==on) -->
<div id="editorue_ft" class="tabdiv">
<textarea id="myEditor_ft" name="myEditor_ft">{:$content_ft}</textarea><input type="hidden" name="content_ft" id="content_ft" />
</div>
<!-- end -->
<!-- if($system[english]==on) -->
<div id="editorue_en" class="tabdiv">
<textarea id="myEditor_en" name="myEditor_en">{:$content_en}</textarea><input type="hidden" name="content_en" id="content_en" />
</div>
<!-- end -->